package pwd.allen.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pwd.allen.service.IHelloService;

/**
 * @author lenovo
 * @create 2019-10-05 16:23
 **/
@Service
public class MyService {

    @Autowired
    private IHelloService helloService;

    public String sayHello(String name) {
        return "consumer:" + helloService.sayHello(name);
    }
}
